﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Domain.Entity;

namespace Domain.Abstract
{
    public interface ICompanyRepository : IRepository
    {
        IQueryable<Company> Companies { get; }

        void SaveCompany(Company company);
        void RemoveCompany(Company company);
        Company FindCompany(int id);
        List<Company> SearchCompany(string search = "");
    }
}
